﻿#cities {
    float: left;
    width: 10%;
    height: 100%;
    overflow-y: auto;
}

#sectors {
    float: left;
    width: 50%;
    height: 100%;
    margin-left: 10px;
    overflow-y: auto;
}

#employmentOptions {
    float: left;
    width: 20%;
    height: 100%;
    margin-left: 30px;
    overflow-y: auto;
}

#instructions {
    margin-bottom: 20px;
}

#townInstructions {
    color: #EC9C41;
}

#sectorInstructions {
    color: #519EBA;
}

#optionsInstructions {
    color: #1CA557;
}

#loadFlyout {
    width: 250px;
}

/*.win-commandimage {
    color: #fff;
}

.win-label {
    color: #fff;
}

.win-appbar {
    background-color: #50B7B3;
}*/

.item-wrapper-cities {
    border: 1px solid #d68a39;
    width: 300px;
    color: #fff;
    background-color: #EC9C41;
    text-align: center;
    height: 70px;
    display: table-cell;
    vertical-align: middle;
}

.item-wrapper-sectors {
    border: 1px solid #41849b;
    width: 150px;
    color: #fff;
    background-color: #519EBA;
    text-align: center;
    height: 150px;
    display: table-cell;
    vertical-align: middle;
}

.item-wrapper-employmentOptions {
    border: 1px solid #188947;
    padding: 20px;
    width: 300px;
    color: #fff;
    background-color: #1CA557;
    text-align: center;
    height: 110px;
    display: table-cell;
    vertical-align: middle;
}

/* CSS for the ListView */
#groupedListView {
    width: 50%;
    height: 70%;
    border: solid 2px rgba(0, 0, 0, 1);
}

/* Template for headers */
.simpleHeaderItem {
    width: 50px;
    height: 50px;
    padding: 8px;
}

/* Template for items */
.mediumListIconTextItem {
    width: 282px;
    height: 180px;
    padding: 5px;
    overflow: hidden;
    display: -ms-grid;
}

    .mediumListIconTextItem img.mediumListIconTextItem-Image {
        width: 150px;
        height: 100px;
        margin: 5px;
        -ms-grid-column: 1;
    }

    .mediumListIconTextItem .mediumListIconTextItem-Detail {
        margin: 5px;
        -ms-grid-column: 2;
    }

.homepage section[role=main] {
    margin-left: 120px;
}

@media screen and (-ms-view-state: snapped) {
    #cities {
        margin: 20px 0 0 0;
        float: none;
        width: 70%;
        height: 50%;
        overflow-y: auto;
    }

    #sectors {
        margin: 20px 0 0 0;
        float: none;
        width: 70%;
        height: 85%;
        overflow-y: auto;
    }

    #employmentOptions {
        margin: 20px 0 0 0;
        float: none;
        width: 70%;
        height: 60%;
        overflow-y: auto;
    }

    .item-wrapper-cities {
        width: 300px;
        height: 70px;
    }

    .item-wrapper-sectors {
        max-height: 100px !important;
        width: 300px;
    }

    .item-wrapper-employmentOptions {
        width: 300px;
    }

    .homepage section[role=main] {
        margin-left: 40px;
        overflow-y: scroll;
    }

    header h1 span:not(.pagetitle) {
        display: none;
    }

    #scenarioAppBar button:not(.unremoveble), hr {
        display: none;
    }

    #scenarioAppBar hr {
        display: none;
    }
}

@media screen and (-ms-view-state: fullscreen-portrait) {
    .homepage section[role=main] {
        margin-left: 100px;
    }

    #cities {
        width: 15%;
    }

    #sectors {
        width: 40%;
    }

    header h1 span:not(.pagetitle) {
        display: none;
    }
}

#faq {
    font-size: 52px;
}

    #faq a {
        color: #DD480E;
        text-decoration: none;
    }

        #faq a:hover {
            font-weight: bold;
        }
